<!DOCTYPE html>
<html lang="zh-CN">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
    <meta charset="utf-8">
    <title>安全协议设计工具</title>
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" type="text/css" href="css/identify.css"/>
    <link rel="stylesheet" type="text/css" href="css/layout.css"/>
    <link rel="stylesheet" type="text/css" href="css/account.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <link rel="stylesheet" type="text/css" href="css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/control_index.css"/>
    <link rel="stylesheet" type="text/css" href="css/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="css/stylesheet.css">

    <script src="js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="js/layer.js"></script>
 	
    <script type="text/javascript" src="js/select.js"></script>
    <!--<script type="text/javascript" src="js/haidao.validate.js"></script>-->
    <!--<script type="text/javascript" src="js/service.js"></script>-->
</head>
<body>
<div class="view-topbar">
    <div class="topbar-console">
        <div class="tobar-head fl">
            <a href="index.html" class="topbar-home-link topbar-btn text-center fl">
                <img src="images/dwlogo.png" class="logoimg" style="padding-top: 8px;padding-left: 5px"/>
            </a>
            <div  class="mynav" >
                <span>电力监控协议安全设计工具</span>
            </div>
        </div>


    </div>
    <div class="topbar-info">

        <ul class="fr">
            <!--<li class="fl dropdown topbar-notice topbar-btn">-->
            <!--<a href="#" class="dropdown-toggle">-->
            <!--<span class="icon-notice"></span>-->
            <!--<span class="topbar-num have">0</span>-->
            <!--</a>-->
            <!--</li>-->
            <li class="fl topbar-info-item">
                <div class="dropdown">
                    <a href="#" class="topbar-btn">
                        <span class="fl text-normal"><span class="username"></span> </span>
                        <span class="icon-arrow-down"></span>
                    </a>
                    <ul class="dropdown-menu topbar-btn-fontsize">
                        <li>
                            <a id="logout">退出</a>
                        </li>
                    </ul>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="view-body">
    <div class="view-sidebar">
        <div class="sidebar-content">
            <div class="sidebar-nav">
                <div class="sidebar-title">
                    <a href="javascript:void(0);">
                        <span class="icon"><b class="fl icon-arrow-down"></b></span>
                        <span class="text-normal">人员管理</span>
                    </a>
                </div>
                <ul class="sidebar-trans" style="display: block;">
                    <li style="background: #40BEA6;">
                        <a href="adminOperatorList.html" style="padding-left: 23px;background: #40BEA6">
                            <i class="fa fa-users fa-lg fa-gray fa-fw"></i>
                            <span class="text-normal">&nbsp;操作员列表</span>
                        </a>
                    </li>
                    <li>
                        <a href="adminAuditorList.html" style="padding-left: 23px;">
                            <i class="fa fa-id-badge fa-lg fa-gray fa-fw"></i>
                            <span class="text-normal">&nbsp;审计员列表</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="view-product background-color">
        <div class="padding-big">
            <div class="content-header">
                <ol class="breadcrumb" style="background: inherit;margin-left: 0px;padding-left: 0px;">
                    <li>
                        <a href="admin.html" title="返回主页"><i class="fa fa-home">&nbsp;主页</i> </a>
                    </li>
                    <li>
                        人员管理
                    </li>
                    <li>
                        操作员列表
                    </li>
                </ol>
            </div>
            <div class="op">
                <a data-panel="add_user" data-title="新增用户-录入信息(用户名不能有除下划线减号外的特殊字符)"
                   data-callback="$(&quot;#add_user&quot;).submit();"
                   data-btn="下一步,取消" class="layui-btn layui-btn-primary button-word1 add_user_open"><i
                        class="fa fa-plus"></i>&nbsp;点击新建</a>
                <input data-panel="add_user2" data-title="新增用户-录入完成" data-btn="完成"
                       data-callback="layer.closeAll();" class="add_user_setup2 add_user_open"
                       value="第三步" type="hidden">
            </div>
            <div class="offcial-table margin-top clearfix" style="background-color: #fff;">
                <div class="offcial-table tr-border margin-big-top clearfix">
                    <div class="tr-th clearfix">
                        <!--<div class="th w10">-->
                            <!--<input id="allCheck" type="checkbox" value="1"/>-->
                        <!--</div>-->
                        <div class="th w20">
                            id
                        </div>
                        <div class="th w30">
                            用户名
                        </div>
                        <div class="th w30">
                            创建时间
                        </div>
                        <div class="th w20">
                            操作
                        </div>
                    </div>
                    <div id="tbody">
                        <!--<div class="tr clearfix border-bottom-none">-->
                        <!--<div class="td w10">-->
                        <!--<input type="checkbox" value="1"/>-->
                        <!--</div>-->
                        <!--<div class="td w15">-->
                        <!--1-->
                        <!--</div>-->
                        <!--<div class="td w25">-->
                        <!--Operator-->
                        <!--</div>-->
                        <!--<div class="td w30">-->
                        <!--2018/12/10 10:10-->
                        <!--</div>-->
                        <!--<div class="td w20">-->
                        <!--<div style="display: inline-block;">-->
                        <!--<a href="#" onclick="$(this).parent().parent().parent().remove();">-->
                        <!--<i class="fa fa-trash fa-lg" title="删除该用户">-->
                        <!--</i>-->
                        <!--</a>-->
                        <!--</div>-->

                        <!--</div>-->
                        <!--</div>-->

                    </div>

                </div>
            </div>

            <div class="show-page padding-big-right">
                <div class="page">
                    <div class="page">
                        <ul class="offcial-page margin-top margin-big-right">
                        	<li>
								<a href="javascript:void(0)" onclick="adminFirstPage()" class="next">首     页</a>
							</li>
                            <li>
                                <a href="javascript:void(0)" onclick="adminLastPage()" class="next">上一页</a>
                            </li>
                            <li><span class="fl">第<em class="margin-small-left margin-small-right" id="pageNum">1</em>页</span>
                            </li>
                            <li>
                                <a href="javascript:void(0)" onclick="adminNextPage()" class="next">下一页</a>
                            </li>
                            
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--弹窗-->
<!--新建用户-->
<div class="add_user" style="display: none;">
    <dl class="layout modify-identity" style="display: block;">
        <dt class="step4">
						<span class="w50 active">
							<em class="icon-index">1</em>
							<em>录入信息</em>
						</span>
            <span class="w50">
							<em class="icon-index">2</em>
							<em>录入完成</em>
						</span>
        </dt>
        <form name="add_user" id="add_user" method="PUT">
            <dd>
                <ul>
                    <li class="clearfix">
                        <span class="revise-left">用户名：</span>
                        <span class="revise-right">
										<input id="username" class="input input-pass fl" maxlength="16" name="username" datatype="*"
                                               placeholder="请输入用户名" type="text" onfocus="removeUsernameText()" onblur="checkUsername()">
									</span>
                    </li>
                    <li class="clearfix">
                        <span class="revise-left">角色：</span>
                        <span class="revise-right">
                            <input id="role" class="input input-pass fl" name="role" datatype="*"
                            placeholder="操作员" type="hidden" value="operator" readonly>
                            <input class="input input-pass fl" name="role" datatype="*"
                                   placeholder="操作员" type="text" value="操作员" readonly>
                        </span>
                    </li>
                </ul>
            </dd>
        </form>
    </dl>
</div>

<div class="add_user2" style="display: none;">
    <dl class="layout modify-identity" style="display: block;">
        <dt class="step5">
						<span class="w50">
							<em class="icon-index">1</em>
							<em>录入信息</em>
						</span>
            <span class="w50 active">
							<em class="icon-index">2</em>
							<em>录入完成</em>
						</span>
        </dt>
        <dd>
            <span class="success clearfix"><em>用户已成功添加，默认密码为888888</em></span>
        </dd>
    </dl>
</div>

<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/admin.js"></script>
<script type="text/javascript" src="js/addUser.js"></script>
<script type="text/javascript" src="js/haidao.offcial.general.js"></script>
<script>
    checkRole('admin');
    $(".sidebar-title").live('click', function () {
        if ($(this).parent(".sidebar-nav").hasClass("sidebar-nav-fold")) {
            $(this).next().slideDown(200);
            $(this).parent(".sidebar-nav").removeClass("sidebar-nav-fold");
        } else {
            $(this).next().slideUp(200);
            $(this).parent(".sidebar-nav").addClass("sidebar-nav-fold");
        }
    });

    function tempDel() {
        $(":checkbox:checked").parent().parent().remove();
    }

	getUsersList("operator",1);
   

</script>

</body>

</html>
